import React,{Component} from "react";
import styles from './header.module.css'
import {NavLink} from 'react-router-dom'

export default class  Header extends Component{
    render(){
        return (
            <div className={styles.nav}>
                <ul>
                    <li><NavLink activeClassName={styles.active} to="/home">首页</NavLink></li>
                    <li><NavLink activeClassName={styles.active} to="/follow">关注</NavLink></li>
                    <li><NavLink activeClassName={styles.active} to="/column">栏目</NavLink></li>
                </ul>
            </div>
        )
    }
}